.class Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;
.super Ljava/lang/Object;
.source "FileExplorerActivity.java"

# interfaces
.implements Lcom/estrongs/android/ui/drag/DragActionZone$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;->l1()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/android/ui/drag/d;Ljava/lang/Object;)V
    .locals 0

    return-void
.end method

.method public b(Lcom/estrongs/android/ui/drag/d;Ljava/lang/Object;)V
    .locals 5

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p1

    .line 2
    check-cast p2, Ljava/util/List;

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 4
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    const/4 v2, 0x2

    if-lt v0, v2, :cond_0

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const p2, 0x7f110a15

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 6
    :cond_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->N0(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const p2, 0x7f110a13

    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return-void

    .line 8
    :cond_1
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    .line 9
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    .line 10
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_3

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    .line 11
    invoke-interface {v3}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/fs/l;->b()Z

    move-result v4

    if-eqz v4, :cond_2

    .line 12
    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 13
    :cond_2
    invoke-interface {p1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 14
    :cond_3
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/fs/g;

    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_6

    .line 15
    :cond_4
    :try_start_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p2

    if-eqz p2, :cond_6

    .line 16
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object p2

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    invoke-interface {v2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2, v2}, Lcom/estrongs/fs/f;->n(Ljava/lang/String;)Ljava/util/List;

    move-result-object p2

    if-eqz p2, :cond_4

    .line 17
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_4

    .line 18
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_1
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/fs/g;

    .line 19
    invoke-interface {v2}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/fs/l;->b()Z

    move-result v3

    if-eqz v3, :cond_5

    .line 20
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 21
    :cond_5
    invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    nop

    .line 22
    :cond_6
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    const/4 v0, 0x1

    if-ne p2, v0, :cond_7

    .line 23
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    .line 24
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    .line 25
    invoke-static {p2, p1}, Lcom/estrongs/android/pop/utils/p;->a(Landroid/app/Activity;Ljava/lang/String;)V

    goto :goto_2

    .line 26
    :cond_7
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-le p2, v0, :cond_8

    .line 27
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 28
    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object p1

    .line 29
    invoke-static {p2, p1}, Lcom/estrongs/android/pop/utils/p;->e(Landroid/app/Activity;Ljava/util/List;)V

    .line 30
    :cond_8
    :goto_2
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$a0;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->R()V

    return-void
.end method
